/* 首页内容的样式 */
/* banner */
.banner {
  position: relative;
  height: 500px;
  background-color: #F5F5F5;
}

.banner .wrapper {
  position: relative;
  overflow: hidden;
}

.banner .wrapper .pic {
  height: 100%;
  display: flex;
  width: 3720px;

}

/* 侧导航ul*/
.banner .subnav {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 500px;
  background-color: rgba(0, 0, 0, 0.42);
}

.banner .subnav li {
  display: flex;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 12px;
  height: 50px;
  line-height: 50px;
}

.banner .subnav li a {
  font-size: 14px;
  color: #FFF;
}

.banner .subnav li:hover {
  background-color: #00BE9A;
  cursor: pointer;
}

.banner .subnav li .classify {
  font-size: 16px;
}

.banner .subnav li span {
  font-size: 10px;
  color: #FFF;
}

/* 小圆点 */

.banner ol {
  position: absolute;
  right: 16px;
  bottom: 17px;
  display: flex;
}

.banner ol li {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  cursor: pointer;
  /* background-color: pink; */
}

.banner ol i {
  display: block;
  margin: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5)
}

.banner ol li.current {
  background-color: rgba(255, 255, 255, 0.5)
}

.banner ol i .current {
  background-color: #FFF
}

/* 新鲜好物 */
/* 标题--公共样式 */
.title {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 30px;
  height: 42px;
  /* background-color: pink; */
}

.title .left {
  display: flex;
}

.title .left h5 {
  font-size: 30px;
  margin-right: 35px;
}

.title .left h4 {
  align-self: flex-end;
  color: #A1A1A1
}

.title .right {
  line-height: 42px;
  color: #A1A1A1;
}

.title .right .more {

  color: #A1A1A1;
}

.title .right .iconfont {
  margin-left: 10px;
  font-size: 12px;
}

/* 好物内容--公共样式 */
.content ul {
  display: flex;
  justify-content: space-between;
}

.content ul li {
  width: 304px;
  height: 404px;
  background-color: pink;
}

.content ul li .pic {
  display: block;
  width: 304px;
  height: 304px;
}

.content ul li .txt {
  height: 100px;
  background-color: #EEF9F4;
  padding: 18px 0 8px;
  font-size: 20px;
  text-align: center;
}

.good .content ul li .txt p {
  font-size: 18px;
  color: #AA2113;
}

.good .content ul li .txt span {
  font-size: 22px;
}

/* 人气推荐 */
.recommond .content .txt {
  background-color: #fff;
}

.recommond .content .txt h3 {
  margin-bottom: 15px;
}

.recommond .content .txt p {
  font-size: 16px;
  color: #A1A1A1;
}

/* 热门品牌 */
.brand {
  overflow: hidden;
  margin: 60px 0;
  height: 468px;
  background-color: #F5F5F5;
}

.brand .title {
  margin-bottom: 40px;
}

.brand .txt ul {
  display: flex;
  justify-content: space-between;
}

.brand .txt ul li {
  width: 244px;
  height: 306px;
  /* background-color: pink; */
}

/* button */
.brand .right {
  display: flex;
}

.brand .right a {
  width: 20px;
  height: 20px;
  margin-top: 50px;
  line-height: 20px;
  text-align: center;
  color: #fff;
  background-color: #00BE9A;
}

.brand .right .prev {
  background-color: #ddd;
}

.brand .right .next {
  margin-left: 12px;
}

/* 生鲜 */
/* 标题 */
.fresh .title {
  margin-top: 60px;
  margin-bottom: 20px;
}

.title .right {
  display: flex;
}

.title ul {
  display: flex;
  margin-right: 58px;
}

.title ul li {
  margin-right: 6px;
}

.title ul li a {
  display: block;
  margin-top: 10px;
  padding: 0 7px;
  height: 20px;
  line-height: 20px;
  /* background-color: pink; */
}

.title ul li .active {
  /* width: 46px;
  height: 20px; */
  background-color: #00BE9A;
  color: #fff;
}

/* 内容 */
.fr {
  display: flex;
  /* width: 100%; */
  height: 610px;
  margin-bottom: 60px;
  /* background-color: pink; */
}

.fr .left img {
  width: 248px;
  height: 610px;
  margin-right: 24px;
}

.fr .right ul {

  display: flex;
  flex-wrap: wrap;
}



.fr .right ul li {
  overflow: hidden;
  position: relative;
  padding: 10px 21px 10px 21px;
  width: 242px;
  height: 305px;
  border: 2px solid #fff;
  /* background-color: yellow; */
}

.fr .right ul li img {
  width: 190px;
  height: 171px;
  margin-bottom: 15px;
}

.fr .right ul li .price {
  color: #AF2F22;
}

.fr .right ul li p {
  margin-bottom: 5px;
}

.fr .right ul li .price span {
  font-size: 22px;
}

.fr .right .cover {
  position: absolute;
  left: 0;
  bottom: -86px;
  padding-top: 15px;
  width: 242px;
  height: 84px;
  background-color: #00BE9A;
  text-align: center;
  transition: all 0.5s;
}

.fr .right .cover p:nth-child(1) {
  font-size: 18px;
  color: #fff;
}

.fr .right .cover p:nth-child(2) {
  margin: 3px auto 6px;
  width: 120px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.11);
}

.fr .right .cover p:nth-child(3) {
  font-size: 13px;
  color: #FFF;
}

.content .cover p:nth-child(3) .iconfont {
  font-size: 14px;
}

.fr .right li:hover .cover {
  bottom: 0;
}

.fr .right li:hover {
  border: 2px solid #00BE9A;
}

/* 最新专题 */
.topic {
  margin-bottom: 40px;
}

.topic .title {
  margin-top: 100px;
  margin-bottom: 30px;
}

.topic-bd ul {
  display: flex;
  justify-content: space-between;
}

.topic-bd ul li {
  width: 405px;
  height: 355px;
  /* background-color: yellow; */
}

.topic-bd ul li .pic {
  width: 405px;
  height: 288px;
}

.topic-bd ul li .txt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  width: 405px;
  height: 67px;
  /* background-color: skyblue; */
}

.topic-bd ul li .txt .left {
  display: flex;
  color: #666666;
}

.topic-bd .txt .left p:nth-child(1) i {
  color: #AA2113;
}

.topic-bd ul li .txt p {
  margin-right: 20px;
}

.topic-bd .pic {
  position: relative;
}

.topic-bd .pic .cover {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 405px;
  height: 90px;
  background-image: linear-gradient(180deg, rgba(137, 137, 137, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%);
  color: #FFF;
}

.topic-bd .pic .cover h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.topic-bd .pic .cover .right {
  padding: 0 7px;
  height: 25px;
  background-color: #fff;
  color: #AA2113;
  font-size: 15px;
}

.topic-bd .pic .cover .right span {
  font-size: 18px;
}

/* 电梯 */
.xtx-elevator {
  position: fixed;
  left: 50%;
  top: 280px;
  z-index: 999;
  margin-left: 640px;
  opacity: 0;
  transition: all .5s;
}

.xtx-elevator .xtx-elevator-list {
  width: 60px;
  height: 300px;
  background: #fff;
  float: right;
  border: 1px solid #f5f5f5;
  position: relative;
}

.xtx-elevator .xtx-elevator-list li {
  height: 60px;
  padding: 15px;
}

.xtx-elevator .xtx-elevator-list li a {
  width: 32px;
  height: 30px;
  display: block;
}

.xtx-elevator .xtx-elevator-list li a:hover,
.xtx-elevator .xtx-elevator-list li a.active {
  color: #27BA9B;
}

.xtx-elevator .xtx-elevator-list li a i {
  display: block;
  width: 16px;
  height: 16px;
  position: relative;
  left: 4px;
  background-position: 8px -106px;
  font-size: 20px;
  transform: rotate(-90deg);
}